﻿using B.S.Orders.Domain;
using B.S.Orders.ErrorCord;
using MediatR;

namespace B.S.Orders.Read.Api.Application.Commands.ProcessCommand
{
    public class GetProcessQueryCommand : IRequest<APIResult<APIPaging<Process>>>
    {
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string? ProcessName { get; set; }
        /// <summary>
        /// 工序编号
        /// </summary>
        public string? ProcessNumber { get; set; }
        /// <summary>
        /// 工序类型
        /// </summary>
        public string? ProcessType { get; set; }
        /// <summary>
        /// 产能主体
        /// </summary>
        public bool? CapacityBody { get; set; }
        /// <summary>
        /// 工序负责人
        /// </summary>
        public string? ProcessPerson { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string? DocumentMakers { get; set; }
        /// <summary>
        /// 开始制单日期
        /// </summary>
        public DateTime? FriDocumentDate { get; set; }
        /// <summary>
        /// 结束制单日期
        /// </summary>
        public DateTime? EndDocumentDate { get; set; }
    }
}
